Optimal. Leaf size=142 \[ -\frac {205}{36} \sqrt {1-2 x} \sqrt {3+5 x}-\frac {(1-2 x)^{3/2} (3+5 x)^{3/2}}{6 (2+3 x)^2}+\frac {37 \sqrt {1-2 x} (3+5 x)^{3/2}}{12 (2+3 x)}-\frac {37}{27} \sqrt {10} \sin ^{-1}\left (\sqrt {\frac {2}{11}} \sqrt {3+5 x}\right )-\frac {1649 \tan ^{-1}\left (\frac {\sqrt {1-2 x}}{\sqrt {7} \sqrt {3+5 x}}\right )}{108 \sqrt {7}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 142, normalized size of antiderivative = 1.00, number of steps
used = 8, number of rules used = 8, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.308, Rules used = {99, 154, 159,
163, 56, 222, 95, 210} \begin {gather*} -\frac {37}{27} \sqrt {10} \text {ArcSin}\left (\sqrt {\frac {2}{11}} \sqrt {5 x+3}\right )-\frac {1649 \text {ArcTan}\left (\frac {\sqrt {1-2 x}}{\sqrt {7} \sqrt {5 x+3}}\right )}{108 \sqrt {7}}+\frac {37 \sqrt {1-2 x} (5 x+3)^{3/2}}{12 (3 x+2)}-\frac {(1-2 x)^{3/2} (5 x+3)^{3/2}}{6 (3 x+2)^2}-\frac {205}{36} \sqrt {1-2 x} \sqrt {5 x+3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 56
Rule 95
Rule 99
Rule 154
Rule 159
Rule 163
Rule 210
Rule 222
Rubi steps
\begin {align*} \int \frac {(1-2 x)^{3/2} (3+5 x)^{3/2}}{(2+3 x)^3} \, dx &=-\frac {(1-2 x)^{3/2} (3+5 x)^{3/2}}{6 (2+3 x)^2}+\frac {1}{6} \int \frac {\left (-\frac {3}{2}-30 x\right ) \sqrt {1-2 x} \sqrt {3+5 x}}{(2+3 x)^2} \, dx\\ &=-\frac {(1-2 x)^{3/2} (3+5 x)^{3/2}}{6 (2+3 x)^2}+\frac {37 \sqrt {1-2 x} (3+5 x)^{3/2}}{12 (2+3 x)}-\frac {1}{18} \int \frac {\left (\frac {9}{4}-615 x\right ) \sqrt {3+5 x}}{\sqrt {1-2 x} (2+3 x)} \, dx\\ &=-\frac {205}{36} \sqrt {1-2 x} \sqrt {3+5 x}-\frac {(1-2 x)^{3/2} (3+5 x)^{3/2}}{6 (2+3 x)^2}+\frac {37 \sqrt {1-2 x} (3+5 x)^{3/2}}{12 (2+3 x)}+\frac {1}{108} \int \frac {-\frac {1311}{2}-2220 x}{\sqrt {1-2 x} (2+3 x) \sqrt {3+5 x}} \, dx\\ &=-\frac {205}{36} \sqrt {1-2 x} \sqrt {3+5 x}-\frac {(1-2 x)^{3/2} (3+5 x)^{3/2}}{6 (2+3 x)^2}+\frac {37 \sqrt {1-2 x} (3+5 x)^{3/2}}{12 (2+3 x)}-\frac {185}{27} \int \frac {1}{\sqrt {1-2 x} \sqrt {3+5 x}} \, dx+\frac {1649}{216} \int \frac {1}{\sqrt {1-2 x} (2+3 x) \sqrt {3+5 x}} \, dx\\ &=-\frac {205}{36} \sqrt {1-2 x} \sqrt {3+5 x}-\frac {(1-2 x)^{3/2} (3+5 x)^{3/2}}{6 (2+3 x)^2}+\frac {37 \sqrt {1-2 x} (3+5 x)^{3/2}}{12 (2+3 x)}+\frac {1649}{108} \text {Subst}\left (\int \frac {1}{-7-x^2} \, dx,x,\frac {\sqrt {1-2 x}}{\sqrt {3+5 x}}\right )-\frac {1}{27} \left (74 \sqrt {5}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {11-2 x^2}} \, dx,x,\sqrt {3+5 x}\right )\\ &=-\frac {205}{36} \sqrt {1-2 x} \sqrt {3+5 x}-\frac {(1-2 x)^{3/2} (3+5 x)^{3/2}}{6 (2+3 x)^2}+\frac {37 \sqrt {1-2 x} (3+5 x)^{3/2}}{12 (2+3 x)}-\frac {37}{27} \sqrt {10} \sin ^{-1}\left (\sqrt {\frac {2}{11}} \sqrt {3+5 x}\right )-\frac {1649 \tan ^{-1}\left (\frac {\sqrt {1-2 x}}{\sqrt {7} \sqrt {3+5 x}}\right )}{108 \sqrt {7}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.25, size = 103, normalized size = 0.73 \begin {gather*} \frac {1}{756} \left (-\frac {21 \sqrt {1-2 x} \sqrt {3+5 x} \left (172+345 x+120 x^2\right )}{(2+3 x)^2}+1036 \sqrt {10} \tan ^{-1}\left (\frac {\sqrt {\frac {5}{2}-5 x}}{\sqrt {3+5 x}}\right )-1649 \sqrt {7} \tan ^{-1}\left (\frac {\sqrt {1-2 x}}{\sqrt {7} \sqrt {3+5 x}}\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.13, size = 208, normalized size = 1.46
method | result | size |
risch | \(\frac {\sqrt {3+5 x}\, \left (-1+2 x \right ) \left (120 x^{2}+345 x +172\right ) \sqrt {\left (1-2 x \right ) \left (3+5 x \right )}}{36 \left (2+3 x \right )^{2} \sqrt {-\left (3+5 x \right ) \left (-1+2 x \right )}\, \sqrt {1-2 x}}+\frac {\left (-\frac {37 \sqrt {10}\, \arcsin \left (\frac {20 x}{11}+\frac {1}{11}\right )}{54}+\frac {1649 \sqrt {7}\, \arctan \left (\frac {9 \left (\frac {20}{3}+\frac {37 x}{3}\right ) \sqrt {7}}{14 \sqrt {-90 \left (\frac {2}{3}+x \right )^{2}+67+111 x}}\right )}{1512}\right ) \sqrt {\left (1-2 x \right ) \left (3+5 x \right )}}{\sqrt {1-2 x}\, \sqrt {3+5 x}}\) | \(137\) |
default | \(-\frac {\sqrt {1-2 x}\, \sqrt {3+5 x}\, \left (9324 \sqrt {10}\, \arcsin \left (\frac {20 x}{11}+\frac {1}{11}\right ) x^{2}-14841 \sqrt {7}\, \arctan \left (\frac {\left (37 x +20\right ) \sqrt {7}}{14 \sqrt {-10 x^{2}-x +3}}\right ) x^{2}+12432 \sqrt {10}\, \arcsin \left (\frac {20 x}{11}+\frac {1}{11}\right ) x -19788 \sqrt {7}\, \arctan \left (\frac {\left (37 x +20\right ) \sqrt {7}}{14 \sqrt {-10 x^{2}-x +3}}\right ) x +5040 x^{2} \sqrt {-10 x^{2}-x +3}+4144 \sqrt {10}\, \arcsin \left (\frac {20 x}{11}+\frac {1}{11}\right )-6596 \sqrt {7}\, \arctan \left (\frac {\left (37 x +20\right ) \sqrt {7}}{14 \sqrt {-10 x^{2}-x +3}}\right )+14490 x \sqrt {-10 x^{2}-x +3}+7224 \sqrt {-10 x^{2}-x +3}\right )}{1512 \sqrt {-10 x^{2}-x +3}\, \left (2+3 x \right )^{2}}\) | \(208\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.49, size = 130, normalized size = 0.92 \begin {gather*} \frac {5}{21} \, {\left (-10 \, x^{2} - x + 3\right )}^{\frac {3}{2}} + \frac {3 \, {\left (-10 \, x^{2} - x + 3\right )}^{\frac {5}{2}}}{14 \, {\left (9 \, x^{2} + 12 \, x + 4\right )}} + \frac {185}{42} \, \sqrt {-10 \, x^{2} - x + 3} x - \frac {37}{54} \, \sqrt {10} \arcsin \left (\frac {20}{11} \, x + \frac {1}{11}\right ) + \frac {1649}{1512} \, \sqrt {7} \arcsin \left (\frac {37 \, x}{11 \, {\left | 3 \, x + 2 \right |}} + \frac {20}{11 \, {\left | 3 \, x + 2 \right |}}\right ) - \frac {769}{252} \, \sqrt {-10 \, x^{2} - x + 3} + \frac {37 \, {\left (-10 \, x^{2} - x + 3\right )}^{\frac {3}{2}}}{84 \, {\left (3 \, x + 2\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.77, size = 141, normalized size = 0.99 \begin {gather*} -\frac {1649 \, \sqrt {7} {\left (9 \, x^{2} + 12 \, x + 4\right )} \arctan \left (\frac {\sqrt {7} {\left (37 \, x + 20\right )} \sqrt {5 \, x + 3} \sqrt {-2 \, x + 1}}{14 \, {\left (10 \, x^{2} + x - 3\right )}}\right ) - 1036 \, \sqrt {10} {\left (9 \, x^{2} + 12 \, x + 4\right )} \arctan \left (\frac {\sqrt {10} {\left (20 \, x + 1\right )} \sqrt {5 \, x + 3} \sqrt {-2 \, x + 1}}{20 \, {\left (10 \, x^{2} + x - 3\right )}}\right ) + 42 \, {\left (120 \, x^{2} + 345 \, x + 172\right )} \sqrt {5 \, x + 3} \sqrt {-2 \, x + 1}}{1512 \, {\left (9 \, x^{2} + 12 \, x + 4\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (1 - 2 x\right )^{\frac {3}{2}} \left (5 x + 3\right )^{\frac {3}{2}}}{\left (3 x + 2\right )^{3}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 338 vs.
\(2 (106) = 212\).
time = 1.85, size = 338, normalized size = 2.38 \begin {gather*} \frac {1649}{15120} \, \sqrt {70} \sqrt {10} {\left (\pi + 2 \, \arctan \left (-\frac {\sqrt {70} \sqrt {5 \, x + 3} {\left (\frac {{\left (\sqrt {2} \sqrt {-10 \, x + 5} - \sqrt {22}\right )}^{2}}{5 \, x + 3} - 4\right )}}{140 \, {\left (\sqrt {2} \sqrt {-10 \, x + 5} - \sqrt {22}\right )}}\right )\right )} - \frac {37}{54} \, \sqrt {10} {\left (\pi + 2 \, \arctan \left (-\frac {\sqrt {5 \, x + 3} {\left (\frac {{\left (\sqrt {2} \sqrt {-10 \, x + 5} - \sqrt {22}\right )}^{2}}{5 \, x + 3} - 4\right )}}{4 \, {\left (\sqrt {2} \sqrt {-10 \, x + 5} - \sqrt {22}\right )}}\right )\right )} - \frac {2}{27} \, \sqrt {5} \sqrt {5 \, x + 3} \sqrt {-10 \, x + 5} - \frac {55 \, \sqrt {10} {\left (23 \, {\left (\frac {\sqrt {2} \sqrt {-10 \, x + 5} - \sqrt {22}}{\sqrt {5 \, x + 3}} - \frac {4 \, \sqrt {5 \, x + 3}}{\sqrt {2} \sqrt {-10 \, x + 5} - \sqrt {22}}\right )}^{3} + \frac {10136 \, {\left (\sqrt {2} \sqrt {-10 \, x + 5} - \sqrt {22}\right )}}{\sqrt {5 \, x + 3}} - \frac {40544 \, \sqrt {5 \, x + 3}}{\sqrt {2} \sqrt {-10 \, x + 5} - \sqrt {22}}\right )}}{54 \, {\left ({\left (\frac {\sqrt {2} \sqrt {-10 \, x + 5} - \sqrt {22}}{\sqrt {5 \, x + 3}} - \frac {4 \, \sqrt {5 \, x + 3}}{\sqrt {2} \sqrt {-10 \, x + 5} - \sqrt {22}}\right )}^{2} + 280\right )}^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (1-2\,x\right )}^{3/2}\,{\left (5\,x+3\right )}^{3/2}}{{\left (3\,x+2\right )}^3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________